﻿using System;
using System.ComponentModel;
using System.Windows.Forms;

namespace MLogix
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [MTAThread]
        static void Main(string[] args)
        {
            try
            {
                bool Auto = false;
                Auto = NotificationControl.GetReadMode();
                ProcessCE.StartProcess("Notification.exe", "1 2 3 4");
                Application.Run(new SMSFilter(Auto,true));
            }
            catch (Win32Exception e)
            {
                MessageBox.Show("Sense API Error!!", "SMS Filter");
            }
            catch(Exception e)
            {
                MessageBox.Show(e.Message, "SMS Filter");
            }
        }
    }
}